package com.xxx.em;

/**
 * @author zhanzhongxin
 * @version v1.0
 * @date 2021/7/15 16:16
 * @description
 */

/*
   jdk1.5定义枚举类的关键字
   类的对象有有限个
 */
public enum Season2 {
    SPRING("春天"),
    SUMMER("夏天"),
    AUTUMN("秋天"),
    WINTER("冬天");
    private String name;
    private Season2(String name) {
        this.name = name;
    }
}
